package com.newtouch.xcd.cms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author dongyuefeng
 * @since 2020-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("5k_product")
@ApiModel(value="Product对象", description="")
public class Product implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "产品id")
    @TableId(value = "product_id", type = IdType.AUTO)
    private Integer productId;

    @ApiModelProperty(value = "产品类别的id")
    @TableField("category_id")
    private Integer categoryId;

    @ApiModelProperty(value = "产品名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "产品信息添加者")
    @TableField("creator_role_id")
    private Integer creatorRoleId;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Integer createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("update_time")
    private Integer updateTime;

    @ApiModelProperty(value = "产品积分")
    @TableField("points")
    private Integer points;

    @ApiModelProperty(value = "备注")
    @TableField("description")
    private String description;

    @ApiModelProperty(value = "1删除")
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;

    @ApiModelProperty(value = "删除人")
    @TableField("delete_role_id")
    private Integer deleteRoleId;

    @ApiModelProperty(value = "删除人ID")
    @TableField("delete_time")
    private Integer deleteTime;

    @ApiModelProperty(value = "产品编号")
    @TableField("product_num")
    private String productNum;

    @ApiModelProperty(value = "1商城展示")
    @TableField("is_shop")
    private Integer isShop;

    @ApiModelProperty(value = "保障类型")
    @TableField("crm_adxgao")
    private String crmAdxgao;

    @ApiModelProperty(value = "保险类型")
    @TableField("crm_lecrsa")
    private String crmLecrsa;

    @ApiModelProperty(value = "风险等级")
    @TableField("crm_dijlje")
    private String crmDijlje;

    @ApiModelProperty(value = "开放周期")
    @TableField("crm_ntccps")
    private String crmNtccps;

    @ApiModelProperty(value = "产品描述")
    @TableField("sketch")
    private String sketch;

    @ApiModelProperty(value = "项目期限")
    @TableField("crm_kauocp")
    private String crmKauocp;

    @ApiModelProperty(value = "管理费")
    @TableField("crm_bpryxd")
    private String crmBpryxd;

    @ApiModelProperty(value = "产品规模")
    @TableField("crm_jydpwm")
    private String crmJydpwm;

    @ApiModelProperty(value = "投资起点")
    @TableField("crm_omwlzy")
    private String crmOmwlzy;

    @ApiModelProperty(value = "资金投向")
    @TableField("crm_srlkbh")
    private String crmSrlkbh;

    @ApiModelProperty(value = "产品管理人")
    @TableField("crm_whusbe")
    private String crmWhusbe;

    @ApiModelProperty(value = "预期收益率(%)")
    @TableField("yqsyl")
    private Float yqsyl;

    @ApiModelProperty(value = "(预计)收益分配时间")
    @TableField("yjlyfpsj")
    private String yjlyfpsj;

    @ApiModelProperty(value = "开始时间")
    @TableField("cppzkssj")
    private Integer cppzkssj;

    @ApiModelProperty(value = "结束时间")
    @TableField("cppzjssj")
    private Integer cppzjssj;


}
